<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template named_parameter_combine</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Boost.Test">
<link rel="up" href="../../header/boost/test/utils/named_params_hpp.html" title="Header &lt;boost/test/utils/named_params.hpp&gt;">
<link rel="prev" href="named_parameter.html" title="Struct template named_parameter">
<link rel="next" href="nil.html" title="Struct nil">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="named_parameter.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/test/utils/named_params_hpp.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="nil.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.nfp.named_parameter_combine"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template named_parameter_combine</span></h2>
<p>boost::nfp::named_parameter_combine</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/test/utils/named_params_hpp.html" title="Header &lt;boost/test/utils/named_params.hpp&gt;">boost/test/utils/named_params.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> NP<span class="special">,</span> <span class="keyword">typename</span> Rest <span class="special">=</span> <a class="link" href="nil.html" title="Struct nil">nil</a><span class="special">&gt;</span> 
<span class="keyword">struct</span> <a class="link" href="named_parameter_combine.html" title="Struct template named_parameter_combine">named_parameter_combine</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">Rest</span> <span class="special">{</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">NP</span><span class="special">::</span><span class="identifier">ref_type</span>                        <a name="boost.nfp.named_parameter_combine.res_type"></a><span class="identifier">res_type</span><span class="special">;</span> 
  <span class="keyword">typedef</span> <a class="link" href="named_parameter_combine.html" title="Struct template named_parameter_combine">named_parameter_combine</a><span class="special">&lt;</span> <span class="identifier">NP</span><span class="special">,</span> <span class="identifier">Rest</span> <span class="special">&gt;</span> <a name="boost.nfp.named_parameter_combine.self_type"></a><span class="identifier">self_type</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="named_parameter_combine.html#boost.nfp.named_parameter_combineconstruct-copy-destruct">construct/copy/destruct</a></span>
  <a class="link" href="named_parameter_combine.html#idm48673-bb"><span class="identifier">named_parameter_combine</span></a><span class="special">(</span><span class="identifier">NP</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">Rest</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="named_parameter_combine.html#idm48640-bb">public member functions</a></span>
  <span class="identifier">res_type</span> <a class="link" href="named_parameter_combine.html#idm48641-bb"><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span></a><span class="special">(</span><a class="link" href="keyword.html" title="Struct template keyword">keyword</a><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">NP</span><span class="special">::</span><span class="identifier">id</span><span class="special">,</span> <span class="keyword">true</span> <span class="special">&gt;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">res_type</span> <a class="link" href="named_parameter_combine.html#idm48646-bb"><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span></a><span class="special">(</span><a class="link" href="keyword.html" title="Struct template keyword">keyword</a><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">NP</span><span class="special">::</span><span class="identifier">id</span><span class="special">,</span> <span class="keyword">false</span> <span class="special">&gt;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="named_parameter_combine.html#idm48651-bb"><span class="identifier">has</span></a><span class="special">(</span><a class="link" href="keyword.html" title="Struct template keyword">keyword</a><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">NP</span><span class="special">::</span><span class="identifier">id</span><span class="special">,</span> <span class="keyword">false</span> <span class="special">&gt;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="named_parameter_combine.html#idm48656-bb"><span class="identifier">erase</span></a><span class="special">(</span><a class="link" href="keyword.html" title="Struct template keyword">keyword</a><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">NP</span><span class="special">::</span><span class="identifier">id</span><span class="special">,</span> <span class="keyword">false</span> <span class="special">&gt;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Visitor<span class="special">&gt;</span> <span class="keyword">void</span> <a class="link" href="named_parameter_combine.html#idm48661-bb"><span class="identifier">apply_to</span></a><span class="special">(</span><span class="identifier">Visitor</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="named_parameter_combine.html" title="Struct template named_parameter_combine">named_parameter_combine</a><span class="special">&lt;</span> <span class="identifier">NP</span><span class="special">,</span> <a class="link" href="named_parameter_combine.html" title="Struct template named_parameter_combine">named_parameter_combine</a><span class="special">&lt;</span> <span class="identifier">NP</span><span class="special">,</span> <span class="identifier">Rest</span> <span class="special">&gt;</span> <span class="special">&gt;</span> 
  <a class="link" href="named_parameter_combine.html#idm48667-bb"><span class="keyword">operator</span><span class="special">,</span></a><span class="special">(</span><span class="identifier">NP</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idm67156"></a><h2>Description</h2>
<div class="refsect2">
<a name="idm67158"></a><h3>
<a name="boost.nfp.named_parameter_combineconstruct-copy-destruct"></a><code class="computeroutput">named_parameter_combine</code> 
        public
       construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><a name="idm48673-bb"></a><span class="identifier">named_parameter_combine</span><span class="special">(</span><span class="identifier">NP</span> <span class="keyword">const</span> <span class="special">&amp;</span> np<span class="special">,</span> <span class="identifier">Rest</span> <span class="keyword">const</span> <span class="special">&amp;</span> r<span class="special">)</span><span class="special">;</span></pre></li></ol></div>
</div>
<div class="refsect2">
<a name="idm67178"></a><h3>
<a name="idm48640-bb"></a><code class="computeroutput">named_parameter_combine</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="identifier">res_type</span> <a name="idm48641-bb"></a><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span><span class="special">(</span><a class="link" href="keyword.html" title="Struct template keyword">keyword</a><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">NP</span><span class="special">::</span><span class="identifier">id</span><span class="special">,</span> <span class="keyword">true</span> <span class="special">&gt;</span> kw<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">res_type</span> <a name="idm48646-bb"></a><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span><span class="special">(</span><a class="link" href="keyword.html" title="Struct template keyword">keyword</a><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">NP</span><span class="special">::</span><span class="identifier">id</span><span class="special">,</span> <span class="keyword">false</span> <span class="special">&gt;</span> kw<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idm48651-bb"></a><span class="identifier">has</span><span class="special">(</span><a class="link" href="keyword.html" title="Struct template keyword">keyword</a><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">NP</span><span class="special">::</span><span class="identifier">id</span><span class="special">,</span> <span class="keyword">false</span> <span class="special">&gt;</span> kw<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm48656-bb"></a><span class="identifier">erase</span><span class="special">(</span><a class="link" href="keyword.html" title="Struct template keyword">keyword</a><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">NP</span><span class="special">::</span><span class="identifier">id</span><span class="special">,</span> <span class="keyword">false</span> <span class="special">&gt;</span> kw<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Visitor<span class="special">&gt;</span> <span class="keyword">void</span> <a name="idm48661-bb"></a><span class="identifier">apply_to</span><span class="special">(</span><span class="identifier">Visitor</span> <span class="special">&amp;</span> V<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="named_parameter_combine.html" title="Struct template named_parameter_combine">named_parameter_combine</a><span class="special">&lt;</span> <span class="identifier">NP</span><span class="special">,</span> <a class="link" href="named_parameter_combine.html" title="Struct template named_parameter_combine">named_parameter_combine</a><span class="special">&lt;</span> <span class="identifier">NP</span><span class="special">,</span> <span class="identifier">Rest</span> <span class="special">&gt;</span> <span class="special">&gt;</span> 
<a name="idm48667-bb"></a><span class="keyword">operator</span><span class="special">,</span><span class="special">(</span><span class="identifier">NP</span> <span class="keyword">const</span> <span class="special">&amp;</span> np<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2022 Boost.Test contributors<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="named_parameter.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/test/utils/named_params_hpp.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="nil.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
